#ifndef BMX055_H
#define BMX055_H

#include "Nano100Series.h"
#include "Common.h"

#define BMX055_CS2_PORT	PB
#define BMX055_CS2_BIT	BIT11
#define BMX055_CS2_PIN	PB11

void Bmx055Init(void);
void Bmx055GetAcc(uint8_t *buf, uint32_t n);
void MBmx055GetGyro(uint8_t *buf, uint32_t n);
void Bmx055GetMag(uint8_t *buf, uint32_t n);

#endif
